/**
 Copyright (c) 2020-2022 宁波哥爱帮科技有限公司
 */
package cn.grab.fispapi.authentication.common.dtos;

import com.fontana.base.result.Result;
import lombok.Data;

/**
 * @description 分页查询通用返回类
 * @author 16411
 * @date 2022/12/29 13:36
 */
@Data
public class PageResponseResult extends Result<Object> {
  private Integer currentPage;
  private Integer size;
  private Integer total;

  public PageResponseResult(Integer currentPage, Integer size, Integer total) {
    this.currentPage = currentPage;
    this.size = size;
    this.total = total;
  }

  public PageResponseResult() {

  }
  public int getCurrentPage() {
    return currentPage;
  }

  public void setCurrentPage(int currentPage) {
    this.currentPage = currentPage;
  }

  public int getSize() {
    return size;
  }

  public void setSize(int size) {
    this.size = size;
  }

  public int getTotal() {
    return total;
  }

  public void setTotal(int total) {
    this.total = total;
  }
}
